package cn.liontalk.service.impl;

import cn.liontalk.dao.ProductCategoryRepository;
import cn.liontalk.entity.ProductCategory;
import cn.liontalk.service.ProductCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author ZhouZhe
 * @version 1.0
 * @description
 * @date 2019-04-15 22:23
 **/
@Service
public class ProductCategoryServiceImpl implements ProductCategoryService {


    @Autowired
    ProductCategoryRepository repository;

    @Override
    public List<ProductCategory> queryProductCategoryByCategoryTypeIn(List<Integer> list) {
        return repository.queryProductCategoryByCategoryTypeIn(list);
    }
}
